package com.example.leaderapplication.Bean;

import java.util.List;

public class FindShipListResultBean {


    /**
     * code : 200
     * message : 查询船舶成功！
     * data : [{"shipId":10000000018001,"shipName":"测试船舶","shipModel":1,"shipNo":"10000011124","shipCapacity":30}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shipId : 10000000018001
         * shipName : 测试船舶
         * shipModel : 1
         * shipNo : 10000011124
         * shipCapacity : 30
         */

        private long shipId;
        private String shipName;
        private int shipModel;
        private String shipNo;
        private int shipCapacity;

        public long getShipId() {
            return shipId;
        }

        public void setShipId(long shipId) {
            this.shipId = shipId;
        }

        public String getShipName() {
            return shipName;
        }

        public void setShipName(String shipName) {
            this.shipName = shipName;
        }

        public int getShipModel() {
            return shipModel;
        }

        public void setShipModel(int shipModel) {
            this.shipModel = shipModel;
        }

        public String getShipNo() {
            return shipNo;
        }

        public void setShipNo(String shipNo) {
            this.shipNo = shipNo;
        }

        public int getShipCapacity() {
            return shipCapacity;
        }

        public void setShipCapacity(int shipCapacity) {
            this.shipCapacity = shipCapacity;
        }
    }
}
